package com.findu.model;

import java.sql.Timestamp;
import java.util.HashMap;

/**
 * 家族成员关系 表 类
 *
 * @author 杨卢银
 *
 */
public class FUFamilytreeMenberRelation {

    private long id;

    private String relationId;

    private int relation;

    private String centerMenberId;

    private String relationMenberId;

    private Timestamp addtime;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getRelationId() {
        return relationId;
    }

    public void setRelationId(String relationId) {
        this.relationId = relationId;
    }

    public int getRelation() {
        return relation;
    }

    public void setRelation(int relation) {
        this.relation = relation;
    }

    public String getCenterMenberId() {
        return centerMenberId;
    }

    public void setCenterMenberId(String centerMenberId) {
        this.centerMenberId = centerMenberId;
    }

    public String getRelationMenberId() {
        return relationMenberId;
    }

    public void setRelationMenberId(String relationMenberId) {
        this.relationMenberId = relationMenberId;
    }

    public Timestamp getAddtime() {
        return addtime;
    }

    public void setAddtime(Timestamp addtime) {
        this.addtime = addtime;
    }

    public HashMap<String, Object> getMap() {
        HashMap<String, Object> userMap = new HashMap<String, Object>();
        userMap.put("id", relationId);
        userMap.put("relationship", relation);
        userMap.put("center_menber_id", centerMenberId);
        userMap.put("menber_id", relationMenberId);
        return userMap;
    }

}
